﻿Imports System.Web
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports DataAccess
Imports System.Data

' To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
' <System.Web.Script.Services.ScriptService()> _
<WebService(Namespace:="http://tempuri.org/")> _
<WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Public Class WSProducto
     Inherits System.Web.Services.WebService

    <WebMethod()> _
    Public Function ListaProducto(ByVal strDNI As String) As DataTable
        Dim objproducto As New Producto()
        Return objproducto.ListaProducto(strDNI)
    End Function

End Class